# for m in range(1,10):
#
#     for n in range(1,10):
#         # if m>=n :
#             print('%s×%s=%s'%(m,n,m*n),end=' ')
#     print()




print('##'*30)
a = 1
while a<=9:
    b = 1
    while b<=9:
        if a>=b:
            print('%s*%s=%s' % (b, a, a * b),end='  ')
        b+=1
    print()

    a+=1